package cn.dylan.user.domain;

import cn.dylan.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private String state;
    private Integer age;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT-8")
    private Date createtime;
    private String headImg;
    private Long logininfo_id;
}
